<extend name="Index::index"/>
<block name="title"><title>添加广告</title></block>
<block name="table">
	<div class="agoods_nav">
		<span>广告添加</span>
	</div>
	<form action="{:U('Adver/addimg')}" method="post" enctype="multipart/form-data" style="margin-top:50px;">
			<span style="margin:50px 50px;">选择广告图片:
				<input type="file" name="pic">
			</span>
				<br/><br/>
			<span style="margin:20px 50px;">位置:
				<select name="location">
					<option value="1">广告一</option>
					<option value="2">广告二</option>
					<option value="3">广告三</option>
				</select>
			</span><br/>
			<input type="submit" value="添加" style="margin:20px 50px;width:100px;height:40px;border:none;background:#6CCCCB;border-radius:10px;color:#fff;" />
		</form>
</block>